package com.shuke.sk_worm.Mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shuke.sk_worm.domain.SkAccounts;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SkAccountsMapper extends BaseMapper<SkAccounts> {

    void updateAccount(@Param(value = "id") Long id, @Param(value = "status") Integer status);

    List<SkAccounts> findFailAccounts(@Param(value = "platform") Integer platform, @Param(value = "date") Long date);
}
